<html>
<head><meta charset="utf-8"><title>unable to jump to the documentation of a method · rustdoc · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/index.html">rustdoc</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/unable.20to.20jump.20to.20the.20documentation.20of.20a.20method.html">unable to jump to the documentation of a method</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="236054890"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/unable%20to%20jump%20to%20the%20documentation%20of%20a%20method/near/236054890" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> hyd-dev <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/unable.20to.20jump.20to.20the.20documentation.20of.20a.20method.html#236054890">(Apr 25 2021 at 10:22)</a>:</h4>
<p>I just opened this page: <a href="https://doc.rust-lang.org/nightly/nightly-rustc/rustc_codegen_ssa/struct.CrateInfo.html">https://doc.rust-lang.org/nightly/nightly-rustc/rustc_codegen_ssa/struct.CrateInfo.html</a><br>
And clicked <code>new</code> in the "Methods" list on the left sidebar. I expected it to jump/scroll to the documentation of <code>CrateInfo::new</code>, but nothing happened?<br>
(<a href="https://doc.rust-lang.org/nightly/nightly-rustc/?search=CrateInfo%3A%3Anew">Method search results are broken in the same way.</a>)</p>
<p>This seems a nightly regression, because <a href="https://doc.rust-lang.org/beta/nightly-rustc/rustc_codegen_ssa/struct.CrateInfo.html">https://doc.rust-lang.org/beta/nightly-rustc/rustc_codegen_ssa/struct.CrateInfo.html</a> works fine for me.</p>



<a name="236055809"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/unable%20to%20jump%20to%20the%20documentation%20of%20a%20method/near/236055809" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> hyd-dev <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/unable.20to.20jump.20to.20the.20documentation.20of.20a.20method.html#236055809">(Apr 25 2021 at 10:38)</a>:</h4>
<p>Also it's hiding <code>impl</code>s by default now. The combination makes <a href="https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/context/struct.TyCtxt.html">https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/context/struct.TyCtxt.html</a> terribly broken, because I don't know how to navigate to the documentation of a query.</p>



<a name="236058271"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/unable%20to%20jump%20to%20the%20documentation%20of%20a%20method/near/236058271" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> GuillaumeGomez <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/unable.20to.20jump.20to.20the.20documentation.20of.20a.20method.html#236058271">(Apr 25 2021 at 11:22)</a>:</h4>
<p>Indeed, I'll fix both issues as soon as possible.</p>



<a name="236063186"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/unable%20to%20jump%20to%20the%20documentation%20of%20a%20method/near/236063186" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> GuillaumeGomez <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/unable.20to.20jump.20to.20the.20documentation.20of.20a.20method.html#236063186">(Apr 25 2021 at 12:51)</a>:</h4>
<p>Ok, so apparently, a test suite isn't run on the CI, which is why those issues appeared. I opened <a href="https://github.com/rust-lang/rust/issues/84550">https://github.com/rust-lang/rust/issues/84550</a> about it and I also fixed half the problems.</p>



<a name="236068067"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/unable%20to%20jump%20to%20the%20documentation%20of%20a%20method/near/236068067" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> GuillaumeGomez <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/unable.20to.20jump.20to.20the.20documentation.20of.20a.20method.html#236068067">(Apr 25 2021 at 14:07)</a>:</h4>
<p><span class="user-mention" data-user-id="374396">@hyd-dev</span> Both fixes are in <a href="https://github.com/rust-lang/rust/pull/84552">https://github.com/rust-lang/rust/pull/84552</a></p>



<a name="236068601"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/266220-rustdoc/topic/unable%20to%20jump%20to%20the%20documentation%20of%20a%20method/near/236068601" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> hyd-dev <a href="https://rust-lang.github.io/zulip_archive/stream/266220-rustdoc/topic/unable.20to.20jump.20to.20the.20documentation.20of.20a.20method.html#236068601">(Apr 25 2021 at 14:17)</a>:</h4>
<p>Thanks, <span class="user-mention" data-user-id="210316">@GuillaumeGomez</span> ! <span aria-label="heart" class="emoji emoji-2764" role="img" title="heart">:heart:</span></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>